package com.originalpoint.origin_server.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *用户点餐单个请求数据封装
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Schema(name = "UserOrderData" ,description = "下单请求实体")
public class UserOrderData {
    @Schema(name = "address" ,description = "地址")
    private Address address;

    @Schema(name = "orderDish" ,description = "封装着菜品和订单的对应信息")
    private OrderDish orderDish;

    @Schema(name = "userId" ,description = "客户ID")
    private Integer userId;

    @Schema(name = "merId" ,description = "商家ID")
    private Integer merId;

}
